package com.zt.location.modules.base.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.zt.location.modules.base.dao.TdMsgDao;
import com.zt.location.modules.base.entity.TdMsgEntity;
import com.zt.location.modules.base.service.TdMsgService;


@Service("tdMsgService")
public class TdMsgServiceImpl implements TdMsgService {
	@Autowired
	private TdMsgDao tdMsgDao;
	
	@Override
	public TdMsgEntity queryObject(Integer id){
		return tdMsgDao.queryObject(id);
	}
	
	@Override
	public List<TdMsgEntity> queryList(Map<String, Object> map){
		return tdMsgDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tdMsgDao.queryTotal(map);
	}
	
	@Override
	public void save(TdMsgEntity tdMsg){
		tdMsgDao.save(tdMsg);
	}
	
	@Override
	public void update(TdMsgEntity tdMsg){
		tdMsgDao.update(tdMsg);
	}
	
	@Override
	public void delete(Integer id){
		tdMsgDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		tdMsgDao.deleteBatch(ids);
	}
	
}
